package com.itheima.service;

import com.itheima.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 部门管理
 */
public interface DeptService {
    public List<Dept> getDepts();

    public void deleteDeptById(Integer id);

    void addDept(Dept dept);

    Dept getDeptById(Integer id);

    void updateDept(Dept dept);
}
